namespace ext.grid
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>A custom selection model that renders a column of checkboxes that can be toggled to select or deselect rows.</summary>
	/// <definedin>src\widgets\grid\CheckboxSelectionModel.js</definedin>
	[ScriptName("CheckboxSelectionModel")]
	[ScriptNamespace("Ext.grid")]
	[Imported()]
	public partial class CheckboxSelectionModel : ext.grid.RowSelectionModel
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="config">The configuration options</param>
		public CheckboxSelectionModel(ext.grid.CheckboxSelectionModel_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		public CheckboxSelectionModel()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>
		/// true if rows can only be selected by clicking on the
		/// checkbox column (defaults to false).
		/// </summary>
		/// <htmlSummary>
		/// &lt;tt&gt;true&lt;/tt&gt; if rows can only be selected by clicking on the
		/// checkbox column (defaults to &lt;tt&gt;false&lt;/tt&gt;).
		/// </htmlSummary>
		/// <definedin>src\widgets\grid\CheckboxSelectionModel.js</definedin>
		[ScriptName("checkOnly")]
		public bool CheckOnly;
		
		/// <summary>
		/// Any valid text or HTML fragment to display in the header cell for the
		/// checkbox column. Defaults to: 
		/// &apos;&amp;lt;div class=&quot;x-grid3-hd-checker&quot;&gt;&amp;#160;&amp;lt;/div&gt;&apos; 
		/// The default CSS class of &apos;x-grid3-hd-checker&apos; displays a checkbox in the header
		/// and provides support for automatic check all/none behavior on header click. This string
		/// can be replaced by any valid HTML fragment, including a simple text string (e.g.,
		/// &apos;Select Rows&apos;), but the automatic check all/none behavior will only work if the
		/// &apos;x-grid3-hd-checker&apos; class is supplied.
		/// </summary>
		/// <htmlSummary>
		/// Any valid text or HTML fragment to display in the header cell for the
		/// checkbox column. Defaults to:&lt;pre&gt;&lt;code&gt;
		/// &apos;&amp;lt;div class=&quot;x-grid3-hd-checker&quot;&gt;&amp;#38;#160;&amp;lt;/div&gt;&apos;&lt;/tt&gt;
		/// &lt;/code&gt;&lt;/pre&gt;
		/// The default CSS class of &lt;tt&gt;&apos;x-grid3-hd-checker&apos;&lt;/tt&gt; displays a checkbox in the header
		/// and provides support for automatic check all/none behavior on header click. This string
		/// can be replaced by any valid HTML fragment, including a simple text string (e.g.,
		/// &lt;tt&gt;&apos;Select Rows&apos;&lt;/tt&gt;), but the automatic check all/none behavior will only work if the
		/// &lt;tt&gt;&apos;x-grid3-hd-checker&apos;&lt;/tt&gt; class is supplied.
		/// </htmlSummary>
		/// <definedin>src\widgets\grid\CheckboxSelectionModel.js</definedin>
		[ScriptName("header")]
		public string Header;
		
		/// <summary>The default width in pixels of the checkbox column (defaults to 20).</summary>
		/// <htmlSummary>The default width in pixels of the checkbox column (defaults to &lt;tt&gt;20&lt;/tt&gt;).</htmlSummary>
		/// <definedin>src\widgets\grid\CheckboxSelectionModel.js</definedin>
		[ScriptName("width")]
		public System.Number Width;
		
		/// <summary>
		/// true if the checkbox column is sortable (defaults to
		/// false).
		/// </summary>
		/// <htmlSummary>
		/// &lt;tt&gt;true&lt;/tt&gt; if the checkbox column is sortable (defaults to
		/// &lt;tt&gt;false&lt;/tt&gt;).
		/// </htmlSummary>
		/// <definedin>src\widgets\grid\CheckboxSelectionModel.js</definedin>
		[ScriptName("sortable")]
		public bool Sortable;
		#endregion
	}
}
